<?php /* Smarty version 2.6.18, created on 2012-02-21 20:14:31
         compiled from user/waiting.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'paging', 'user/waiting.tpl', 50, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php if ($this->_tpl_vars['AppUI']->id <= 0): ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/login.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>  
<?php else: ?>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/menu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
    <div class="rightColumn">
    	<div class="boxContent">
        	<div class="contentItem">
                <div class="contentItems">
                	<div class="headerTitle"><h2><a href="<?php echo @HOST_BACKEND; ?>
user/waiting">Thành viên chờ kích hoạt</a></h2></div>
                    <form name="frmSearch" id="frmSearch" action="<?php echo @HOST_BACKEND; ?>
user/waiting" method="post" enctype="multipart/form-data">
                    	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user/search.tpl", 'smarty_include_vars' => array('type' => 2)));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    </form>
                	<form name="frmUser" id="frmUser" method="post" enctype="multipart/form-data" action="<?php echo @HOST_BACKEND; ?>
user/act">
                    	<input type="hidden" name="paction" id="paction"/>
                        <input type="hidden" name="pbackurl" id="pbackurl" value="<?php echo @HOST_BACKEND; ?>
user/waiting"/>
                        <div class="secData">
                        	<?php if ($this->_tpl_vars['arrResult']): ?>
                                <div class="secActionAndPage">
                                    <div class="actionLink">
                                    	<?php if (isset ( $_SESSION['user'] )): ?>
                                        	<?php if (( $_SESSION['user'] & 1 << 5 ) > 0): ?>  
                                                <input type="button" onclick="javascript:confirmActive(this.form);" value="Kích hoạt"/>
                                            <?php endif; ?>
                                            <?php if (( $_SESSION['user'] & 1 << 3 ) > 0): ?>  
                                                <input type="button" onclick="javascript:confirmPending(this.form);" value="Xóa tài khoản"/>
                                            <?php endif; ?>
                                       	<?php else: ?>
                                        	&nbsp;
                                        <?php endif; ?>
                                    </div>
                                    <div class="totalPage"><strong>Tổng số: <?php echo $this->_tpl_vars['intTotal']; ?>
</strong></div>
                                </div>
                            <?php endif; ?>
                            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user/box-list.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                            <?php if ($this->_tpl_vars['arrResult']): ?>
                                <div class="secActionAndPage">
                                    <div class="actionLink">
                                    	<?php if (isset ( $_SESSION['user'] )): ?>
                                        	<?php if (( $_SESSION['user'] & 1 << 5 ) > 0): ?>  
                                                <input type="button" onclick="javascript:confirmActive(this.form);" value="Kích hoạt"/>
                                            <?php endif; ?>
                                            <?php if (( $_SESSION['user'] & 1 << 3 ) > 0): ?>  
                                                <input type="button" onclick="javascript:confirmPending(this.form);" value="Xóa tài khoản"/>
                                            <?php endif; ?>
                                       	<?php else: ?>
                                        	&nbsp;
                                        <?php endif; ?>
                                    </div>
                                    <?php echo smarty_function_paging(array('total' => $this->_tpl_vars['intTotal'],'limit' => $this->_tpl_vars['intLimit'],'offset' => $this->_tpl_vars['intOffset']), $this);?>

                                </div>
                            <?php endif; ?>
                      	</div>
                   	</form>
                </div>
          	</div>
        </div>
    </div>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "common/footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                